<?php

namespace app\index\model;

use think\Db;
use think\Model;

/*
 * 优享活动
 */

class Ushare extends Model {
     /*
     * 订单项目信息
     */
    public function item()
    {
        return $this->belongsTo('Item', 'item_id', 'id')->field('id, item_name, item_img, item_img_thumb, content');
    }
}
